{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}	

<form method="POST">
	{$html->form->param('option','com_agora')}
	{$html->form->param('task','configuration')}
	{$html->form->param('page','aggregator')}
	{$html->form->param('action','save')}
	{$html->form->param('type','clean')}

	<fieldset>
		<legend>##Feed parameters##</legend>
		<table class="admintable">
			<tbody>
				{adminform->text caption='URL' value='http://' size=40 maxlength=255 var='url'}
				<tr>
					<td class="key">##Forum##:</td>
					<td>
						<select style="width: 200px" name="form[forum_id]">
							{foreach from=$forums item=rss_cat}
							<optgroup label="{$rss_cat.cat_name}">
								{foreach from=$rss_cat.forums item=rss_forum}
								<option value="{$rss_forum.id}">{$rss_forum.forum_name}</option>
								{/foreach}
							</optgroup>
							{/foreach}
						</select>
					</td>
				</tr>
				{adminform->text caption='Author' value='Guest' size=40 maxlength=40 var='author'}
				{adminform->text caption='Cron' var='max' maxlength=1 size=1 value=0}
				{adminform->radio caption='Closed' var='closed' value=0}
				<tr>
					<td colspan="2" align="center">
						<input type="submit" value="##Submit##"/>
						<input type="button" value="##Cancel##" onclick="window.parent.document.getElementById('sbox-window').close();"/>
					</td>
				</tr>
			</tbody>
		</table>
	</fieldset>
</form>